package com.cyzy.mapper;

import com.cyzy.domain.TGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 10204
* @description 针对表【t_goods(商品表，用于存储商品的详细信息)】的数据库操作Mapper
* @createDate 2024-11-18 11:28:37
* @Entity com.cyzy.domain.TGoods
*/
@Mapper
public interface TGoodsMapper extends BaseMapper<TGoods> {
//批量添加商品
int insertGoods(List<TGoods> goodsList);
//批量下架商品
int updateState(@Param("list") List<TGoods> goodsIds);
//修改商品信息
    int updateGoods(TGoods goods);
}




